import axios from '../index'

// 菜单请求接口
export const getMenu = () => {
    return axios.request({
        url: '/getMenu',
        method: 'post'
    })
}

// 头部卡片数据请求接口
export const getCard = () => {
    return axios.request({
        url: '/getCard',
        method: 'get'
    })
}

// 销售表格接口
export const getTableData = () => {
    return axios.request({
        url: '/getTableData',
        method: 'post'
    })
}

export const getZxEchartData = () => {
    return axios.request({
        url: '/getZxEchartData',
        method: 'post'
    })
}